package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.Elder;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface NursingLevelMapper {
    List<NursingLevel> getAll();

    NursingLevel getByName(String name);

    int add(NursingLevel nursing);

    Page<NursingLevelVo> selectByPage(String name, Integer status);

    NursingLevel getById(Long id);

    int updateById(NursingLevel nursingLevel);

    int removeById(Long id);

    int updateStatus(Long id, Integer status);


    ArrayList<String> getAllList();
}

